package org.ectar.papi.data
{
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author Mykhaylo Lytvynyuk, 2008
	 * 
	 * Object represents albun instance of PicasaFlex API
	 *  
	 */
	public class GAlbum
	{
		
		public function GAlbum():void {
		}
		
		[Bindable] public var icon:String;
		
		[Bindable] public var id:String; // Unique URL which leads to the photo feed
		[Bindable] public var published:String;
		[Bindable] public var updated:String;	
		[Bindable] public var category:Array; // <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#photo"/>
		[Bindable] public var title:String;
		[Bindable] public var subtitle:String;
		[Bindable] public var summary:String; // unused, see Media.description		
		[Bindable] public var rights:String;
		
		/** An arrays of Picture related links */
		[Bindable] public var link:Object;	
		
		[Bindable] public var authorName:String;
		
		[Bindable] public var authirUri:String;
		
		/** Contains gphoto: section */
		[Bindable] public var gphoto:GPhoto = new GPhoto();	
		
		/** Media ingomation */
		[Bindable] public var media:GMedia = new GMedia();
		
		/** Image geo data in GeoRSS-plus-GML format */
		[Bindable] public var georss:GEORss = new GEORss();
		
		/** A list of phootos whi belongs to the Album */
		[Bindable] public var photos:ArrayCollection;
	}
}